package AbstractFactory;

import AbstractFactory.factory.AppleFactory;
import AbstractFactory.factory.HuaweiFactory;

/**
 * @author: HenryDai
 * @Date: 2022/05/02 14:50
 * @description:
 */
public class demo {
    public static void main(String[] args) {
        HuaweiFactory huaweiFactory = new HuaweiFactory();
        AppleFactory appleFactory = new AppleFactory();
        huaweiFactory.makePC();
        huaweiFactory.makePhone();
        appleFactory.makePC();
        appleFactory.makePhone();
    }
}
